package com.dingyh.shopwebbackground.service;

import com.dingyh.shopwebbackground.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dingyuhan
 * @since 2023-02-17
 */
public interface OrdersService extends IService<Orders> {
    Orders selectOrder(Map<String,Object> map);
    List<Orders> getOrderList(Map<String, Object> map);
    List<Orders> getAllList(String userId);
    List<Orders> getOrderListTwo();
    List<Orders> getSaleList(String companyId);
    boolean updState(Orders orders);
    boolean finishReturn(String id);
    boolean removeOrder(String id);
    Integer getOrderCount(String businessId);
    Integer getNotOrderCount(String businessId);
    Map getBar(Long startTime, Long endTime, String userId);

}
